package com.ruoyi.syf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.syf.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("管控措施表")
public class RiskMeasure extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "风险判定-事故明细ID")
    private Long detailId;

    @ApiModelProperty(value = "管控措施大类")
    private String measureType;

    @ApiModelProperty(value = "管控措施二级分类")
    private String measureSubType;

    @ApiModelProperty(value = "管控措施三级分类（自定义）")
    private String measureOtherType;

    @ApiModelProperty(value = "管控方式,1自动化监控,2隐患排查")
    private String dataSrc;

    @ApiModelProperty(value = "措施描述")
    private String description;

    @ApiModelProperty(value = "排查内容")
    private String content;

    @ApiModelProperty(value = "状态，1-启用，0-禁用")
    private Boolean status;

}
